//
//  AOJIOfferCell.m
//  Aoji
//
//  Created by beyondsoft on 14/11/18.
//  Copyright (c) 2014年 chengli. All rights reserved.
//

#import "AOJIOfferCell.h"
#import "SVGloble.h"

@implementation AOJIOfferCell
@synthesize imgView = _imgView;
@synthesize schollName = _schollName;

- (void) configureCellWithFrame:(CGRect) frame
{
    self.imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0 ,60, 80)];
    //    _imgView.backgroundColor = [UIColor redColor];
    _imgView.userInteractionEnabled = YES;
    [self.contentView addSubview:_imgView];
    
    self.schollName = [[UILabel alloc] initWithFrame:CGRectMake(0, _imgView.frame.origin.y + _imgView.frame.size.height+ 15, _imgView.frame.size.width+15, 20)];
    _schollName.backgroundColor = [SVGloble colorFromHexRGB:@"343434"];
    _schollName.textAlignment = NSTextAlignmentCenter;
    _schollName.font = [UIFont systemFontOfSize:12.0f];
    _schollName.shadowColor = [UIColor whiteColor];
    _schollName.shadowOffset = CGSizeMake(0, 1);
    _schollName.backgroundColor = [UIColor clearColor];
    [self.contentView addSubview:_schollName];
    
    UIImageView *line = [[UIImageView alloc] initWithFrame:CGRectMake(0, _imgView.frame.origin.y + _imgView.frame.size.height + 59, _imgView.frame.size.width, 1)];
    line.backgroundColor = [SVGloble colorFromHexRGB:@"ececec"];
    [self.contentView addSubview:line];
    
}

@end
